2.16 [UserExtensions] Section

The EDK II [UserExtensions] sections allow for extending the INF with custom processing. The format for a user extension is:

[UserExtensions.$(UserID).$(Identifier)]

Having data elements under the section header is not required.

The EDK II build tools do not use this section. When generating the "As Built" binary INF during a build, this section is copied from the original source INF file if the UserId is "TianoCore". Other [UserExtensions] sections will not be copied. The reference tools ignore all content within a [UserExtensions] section.

The following is an example of a [UserExtensions] section:

[UserExtensions.NoSuchCorp."MyProcess_1.2"]
  NoSuch.bat

2.16.1 [UserExtensions.TianoCore."ExtraFiles"] Section

The EDK II [UserExtensions.TianoCore."ExtraFiles"] section allow for distributing extraneous files that are associated with a module. Files listed in this section are not processed by EDK II build tools. These files must exist in the directory or sub- directories of the directory containing the INF file.


Note: The Intel(R) UEFI Packaging Tool will parse this section and for all files listed in this file, add the file to the module distribution using the UEFI Distribution Package Distribution.


The section header must be:

[UserExtensions.TianoCore."ExtraFiles"]

Having data elements under the section header is not required.

The following is an example of a [UserExtensions.TianoCore."ExtraFiles"] section:

[UserExtensions.TianoCore."ExtraFiles"]
  Readme.txt